/**
 * Copyright (c) 2005-2016, yinwer81 (yinwer81@aliyun.com)
 *
 * Licensed under the Apache License, Version 2.0
 */
package com.nozturn.throne.entity;

public class Client extends IdEntity {

    private static final long serialVersionUID = 1346605160748034501L;

    /**
     * 客户端名称
     */
    private String clientName;

    /**
     * 客户端Id
     */
    private String clientId;

    /**
     * 客户端秘钥
     */
    private String clientSecret;
    
    /**
     * 客户端状态：100无效，200有效(默认值)
     */
    private Integer valid;
    
    /**
     * 客户端联系人
     */
    private Long clientOwner;
    
    /**
     * 转发地址
     */
    private String redirectUri;

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Long getClientOwner() {
        return clientOwner;
    }

    public void setClientOwner(Long clientOwner) {
        this.clientOwner = clientOwner;
    }

    public String getRedirectUri() {
        return redirectUri;
    }

    public void setRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri;
    }

}
